//
//  WmcBrandLibraryEmptyView.swift
//  YPWatermarkCamera
//
//  Created by 赵新 on 2022/6/30.
//

import UIKit

class WmcBrandLibraryEmptyView: WmcEmptyView {
    override func makeUI() {
        imageView.image = "edit_brand_library_empty".wmc_image
        addSubview(imageView)
        tipLabel.text = "搜索不到任何内容"
        tipLabel.font = 16.wmc_font
        tipLabel.textColor = .wmc_grayH8_8A8A99
        addSubview(tipLabel)

        imageView.snp.makeConstraints { make in
            make.centerY.equalToSuperview().offset(-100)
            make.centerX.equalToSuperview()
            make.size.equalTo(100)
        }

        tipLabel.snp.makeConstraints { make in
            make.top.equalTo(imageView.snp.bottom).offset(12)
            make.left.right.equalToSuperview()
            make.height.equalTo(18)
        }
    }
}
